package cn.itcalvin.sncoal.cth.pojo.response.pf;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class RespZbDetailsCl {
    @ApiModelProperty(value="数据ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value="创建人")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createId;

    @ApiModelProperty(value="草料对应的ID")
    private String codeId;
//    @ApiModelProperty(value="溯源方法")
//    private String syFunction;
    @ApiModelProperty(value="图片地址")
    private String pictureUrl;
    @ApiModelProperty(value="文件地址")
    private String fileUrl;
    @ApiModelProperty(value="音频地址")
    private String audioUrl;
    @ApiModelProperty(value="视频地址")
    private String videoUrl;
    @ApiModelProperty(value="记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordTime;
    @ApiModelProperty(value="资料上传方式")
    private String recordType;

}
